package cn.yunhe.entity;

import lombok.Data;

/*
快递货物实体类
 */
@Data
public class Goods {
    private int goodsId;//货物id
    private String gname;//货物名称
    private String gweight;//重量
    private String gsize;//大小

    private int flag;// 状态 0 在库| 1 不在库


    public Goods() {
    }

    public Goods(int goodsId) {
        this.goodsId = goodsId;
    }


    public Goods(String gname, String gweight, String gsize, int flag) {
        this.gname = gname;
        this.gweight = gweight;
        this.gsize = gsize;
        this.flag = flag;
    }

    public Goods(String gname, String gweight, String gsize) {
        this.gname = gname;
        this.gweight = gweight;
        this.gsize = gsize;
    }
}
